
let axios = require('axios')

// axios.post('https://www.v2ex.com/api/topics/hot.json').then(res => {


//   console.log(res)
// }).catch(err => {
//   console.log(err)
// })

async function foot() {
  try {
    let data = await axios.post('https://www.v2ex.com/api/topics/hot.json')
  } catch (e) {
    console.log("err")
  }

  // console.log(data)
}

foot()